package com.imut.service;

import com.imut.entity.Publisher;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface PublisherService {

    boolean insertAll(Publisher publisher);

    boolean updateById(Publisher publisher);

    boolean deleteById(Integer id);

    Publisher selectById(Integer id);

    List<Publisher> selectAll(Publisher publisher);
}
